package kr.or.kosta.otr.vo;

import java.sql.Date;

public class CommentVO{
	private int commentId;//comment_id
	private BoardVO boardVo;//board_id
	private String commentUserId;//comment_user_id
	private String commentContent;//comment_content
	private Date commentWriteDate;//comment_write_date
	private int ref;// ref : 댓글 그룹 번호
	private int step;// step : 댓글 그룹 내 순서
	private int jump;// jump : 댓글 깊이
	private int depth;// depth : 직계 자식 댓글 수
	private int root;// root : 부모 댓글의 아이디
	public CommentVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public CommentVO(int commentId, BoardVO boardVo, String commentUserId,
			String commentContent, Date commentWriteDate, int ref, int step,
			int jump, int depth, int root) {
		super();
		this.commentId = commentId;
		this.boardVo = boardVo;
		this.commentUserId = commentUserId;
		this.commentContent = commentContent;
		this.commentWriteDate = commentWriteDate;
		this.ref = ref;
		this.step = step;
		this.jump = jump;
		this.depth = depth;
		this.root = root;
	}
	public CommentVO(int commentId, BoardVO boardVo, String commentUserId,
			String commentContent, Date commentWriteDate, int ref) {
		super();
		this.commentId = commentId;
		this.boardVo = boardVo;
		this.commentUserId = commentUserId;
		this.commentContent = commentContent;
		this.commentWriteDate = commentWriteDate;
		this.ref = ref;
	}
	public CommentVO(int commentId, BoardVO boardVo, String commentUserId,
			String commentContent) {
		super();
		this.commentId = commentId;
		this.boardVo = boardVo;
		this.commentUserId = commentUserId;
		this.commentContent = commentContent;
	}
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public BoardVO getBoardVo() {
		return boardVo;
	}
	public void setBoardVo(BoardVO boardVo) {
		this.boardVo = boardVo;
	}
	public String getCommentUserId() {
		return commentUserId;
	}
	public void setCommentUserId(String commentUserId) {
		this.commentUserId = commentUserId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public Date getCommentWriteDate() {
		return commentWriteDate;
	}
	public void setCommentWriteDate(Date commentWriteDate) {
		this.commentWriteDate = commentWriteDate;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	public int getJump() {
		return jump;
	}
	public void setJump(int jump) {
		this.jump = jump;
	}
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
	public int getRoot() {
		return root;
	}
	public void setRoot(int root) {
		this.root = root;
	}
	@Override
	public String toString() {
		return "CommentVO [commentId=" + commentId + ", boardVo=" + boardVo
				+ ", commentUserId=" + commentUserId + ", commentContent="
				+ commentContent + ", commentWriteDate=" + commentWriteDate
				+ ", ref=" + ref + ", step=" + step + ", jump=" + jump
				+ ", depth=" + depth + ", root=" + root + "]";
	}
}
